package easylog

import (
	"gitee.com/hongzhaomin/hzm-common-go/strutil/color"
	"log/slog"
)

// 日志级别延用slog包
var logLevelColorMap = map[slog.Level]color.Color{
	slog.LevelDebug: color.BlueTextHighlight,
	slog.LevelInfo:  color.GreenTextHighlight,
	slog.LevelWarn:  color.YellowTextHighlight,
	slog.LevelError: color.RedTextHighlight,
}
